<template>
    <div>
        <Row>
            <Row style="margin-bottom: 10px;">
                <label style="line-height:32px;">用户: </label>
                <Input v-model="username" style="width:200px" />
            </Row>
            <Row style="margin-bottom: 10px;">
                <label style="line-height:32px;">密码: </label>
                <Input v-model="password" style="width:200px" type="password" />
            </Row>
            <Row>
                <Button @click="clicklg">登陆</Button>
            </Row>
        </Row>
    </div>
</template>

<script>
import service from '../../service/index.js'
export default {
    name:'login',
     props:['id','name'],
    mounted() {
        //console.log(this.$route.query.id, this.$route.query.name)
        console.log(this.id, this.name)
    },
    data(){
        return{
            username:'',
            password:''
        }
    },
    methods:{
        clicklg(){
            console.log('-----',this.username,this.password)
        }
    }
}
</script>

<style lang="scss" scoped>

</style>
